package RadianceM.DistributionSystem.dto;

// 用户权限类
public enum Authority {
	AUTHORITY_STUDENT(4101,"学生用户"),
	AUTHORITY_OFFICER(4102,"职工用户"),
	AUTHORITY_MANAGER(4103,"管理员用户"),
	AUTHORITY_MANAGER_NO_INIT(4104,"未初始化管理员用户");
	private final Integer code;
	private final String authority;

	Authority(Integer code, String authority) {
		this.code = code;
		this.authority = authority;
	}

	public Integer getCode() {
		return code;
	}

	public String getAuthority() {
		return authority;
	}
}
